package com.example.demo.config;

import com.example.demo.model.ImportExcelDto;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author Liunh
 */
@Getter
@Setter
public class ImportExcelEvent<T> extends ApplicationEvent {

    private ImportExcelDto<T> dto;

    public ImportExcelEvent(ImportExcelDto<T> dto) {
        super(dto);
        this.dto = dto;
    }
}
